import React from 'react'
import { Icon } from 'antd'

const Error = () => (
    <div style={styles.error}>
        <h1>404 Not Found</h1>
    </div>)

const styles={
    error:{
        color: 'black',
        textAign: 'center',
        position: 'absolute',
        top:'30%',
        marginTop: '-50px',
        left: '50%',
        marginLeft: '-100px',
        width: '200px',
    }
}
export default Error